home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / comm1 / intsdkss.lha / include / netinet / inet.h < prev    next >
C/C++ Source or Header  |  1996-04-09  |  2KB  |  55 lines

  1. /*
  2. ** inet.library export definitions
  3. */
  4.  
  5. #ifndef NETINET_INET_H
  6. #define NETINET_INET_H
  7.  
  8. #ifndef EXEC_TYPES_H
  9. #include <exec/types.h>
  10. #endif
  11. #ifndef EXEC_LISTS_H
  12. #include <exec/lists.h>
  13. #endif
  14. #ifndef EXEC_LIBRARIES_H
  15. #include <exec/libraries.h>
  16. #endif
  17. #ifndef EXEC_IO_H
  18. #include <exec/io.h>
  19. #endif
  20. #ifndef DOS_DOS_H
  21. #include <dos/dos.h>
  22. #endif
  23.  
  24. struct InetNode
  25. {
  26.     struct Library ml_Lib;
  27.     ULONG  ml_SegList;
  28.     ULONG  ml_Flags;
  29.     APTR   ml_ExecBase;         /*        pointer to exec base */
  30.     long * ml_relocs;            /*           pointer to relocs.    */
  31.     struct SocketLibrary  *ml_origbase; /* pointer to original library base  */
  32.     long   ml_numjmps;
  33.     short  nlsize;            /* size of nlist array */
  34.     struct nlist *names;        /* nlist entries */
  35. };
  36.  
  37. extern struct InetNode *InetBase;
  38. #define INETNAME "inet.library"
  39. #endif
  40.  
  41. #ifdef undef
  42.     {"_mbstat",     MBSTAT},        {"_ipstat",     IPSTAT},
  43.     {"_tcb",        TCB},           {"_tcpstat",    TCPSTAT},
  44.     {"_udp",        UDB},           {"_udpstat",    UDPSTAT},
  45.     {"_rawcb",      RAWCB},         {"_ifnet",      IFNET},
  46.     {"imp_softc",   IMP_SOFTC},     {"_rthost",     RTHOST},
  47.     {"_rtnet",      RTNET},         {"_icmpstat",   ICMPSTAT},
  48.     {"_rtsat",      RTSTAT},        {"_nfile",      NFILE},
  49.     {"_file",       FILEV},         {"_unixsw",     UNIXSW},
  50.     {"_rthashsize", RTHASHSIZE},    {"_nspcb",      NSPCB},
  51.     {"_idpstat",    IDPSTAT},       {"_spp_istat",  SPP_ISTAT},
  52.     {"_ns_errstat", NS_ERRSTAT},    {"_nimp",       NIMP},
  53.     {"_arptab",     ARPTAB},        {"_arptab_size",ARPTAB_SIZE},
  54. #endif
  55.